$(document).ready(function(){
  //$(".btn1").click(function(){
  //});
	
	
	$('#formPage').live('pagebeforeshow', function(){
		$("input[type='radio']:first").attr("checked",true).checkboxradio("refresh");
		
		$("input[type='checkbox']:first").attr("checked",true).checkboxradio("refresh");
		
		var myselect = $('select#select-choice-1');
		myselect[0].selectedIndex = 1;
		myselect.selectmenu('refresh');
		
		$("input[type='range']:first").val('40').slider("refresh");
		
		var myswitch = $('select#slider');
		myswitch[0].selectedIndex = 1;
		myswitch.slider('refresh');
		
	});
});